package com.ers.validmodel;

import org.hibernate.validator.constraints.NotEmpty;

public class LoginModel {
	@NotEmpty(message="{loginName.not.empty}")
	private String loginName;
	@NotEmpty(message="{password.not.empty}")
	private String password;
	public String getLoginName() {
		return loginName;
	}
	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	
}
